You are here: Web Administration > web.config Settings > WebStore

 

WebStore

The WebStore section of the web.config file allows you to configure the policies of the webStore application. It contains the following attributes.

Attribute

Use

defaultSalesOrderShipViaCode

If specified, identifies the default shipping method for new sales orders. The value must be an existing ShipViaCd sent by the KS_FREIGHT API.

googleAnalyticsAccount

The Google Analytics account. If specified, the system sends page and transaction information to Google with the value of this attribute. The value must be a valid account provided by Google in order to use the Google tools.

isMvcCheckout

If True, the system uses the MVC-based checkout. If not specified or if the value is False, the system uses the legacy KAML-based checkout.

showTermsAndConditions

If True, shows the terms and conditions page and a checkbox for users to confirm that they agree to these terms before checking out. If specified, the value must be True or False. If not specified, the default for this attribute is True to show the terms and conditions.

termsAndConditionsAgreementText

If specified, overrides the label text for the term and conditions checkbox on the checkout order review page.

anonymousWarehousePlant

If specified, sets the warehouse plant code for the anonymous user. This could impact pricing for anonymous users if your ERP system is designed based on warehouse location.

defaultClassViewStyle

If specified, sets the default view style for catalog class lists. Valid values are:

  • List - A vertically oriented list.
  • Grid - A grid layout with multiple items per row. This is the default.
defaultProfileViewStyle

If specified, sets the default view style for catalog profile lists. Valid values are:

  • List - A vertically oriented list.
  • Grid - A grid layout with multiple items per row. This is the default.

defaultPriceBasis

If specified, sets the price basis when calculating the sale price for an item if there is none specified for the current business.

defaultPriceSheet

If specified, sets the price sheet when calculating the sales price for an item when there is none specified for the current business.

defaultSortProperty

If specified, sets the default sort property for the item class catalog. This must be a valid property name for the ItemProfile object. Example “ItemProfilePrice”. Refer to the Object Security page to view the available properties for this object.

defaultSortOrder

If specified, sets the default sort order for the item class catalog. Valid values are "A" - ascending or "D" - descending.

defaultSortLabel

If specified, sets the sort label for the default sort property. Example: “Price”

defaultSortOrderLabel

If specified, sets the sort order label for the default sort property. Example: “(Low to High)”

solrSearchUrl

If specified, enables Solr search integration and provides the URL of the Solr instance.

solrSearchRowCount

If specified, sets the maximum rows to be returned from Solr. The value must be a positive integer. If not specified, the default value is 200.

enableSearchPropertyService

If true, the system enables the search property service. If specified, the value must be "true" or "false".

showPaymentTermsXref

If True, the system uses the payment terms cross-reference sent from your ERP system when displaying the payment terms. If not specified, or the value is False, the system uses application logic to derive the description. based on the payment terms data. All Payment terms data is sent by the KS_CUSTOMERS API.

showMaximumQuantityDiscount

If true, when calculating prices for display in the catalog the maximum quantity discount will be used, otherwise the single quantity price will be displayed.

shareButtonsServices

A list of service codes <https://www.addtoany.com/services/>, separated by spaces, to show as buttons on profile pages. If specified, enables share/social media buttons on product listings. Options entered are case-sensitive and must be all lower case. Entering the "+" options causes a + button to appear on the listings. When clicked, it allows the user to view and choose from all available sharing options.

settleOnOrderImport

If True, the system settles credit card authorizations for an order when it is imported from the back-office system. If False, the system settles credit card authorizations when the invoice is imported from the back-office system. If not specified, the default value for this setting is False.

Example Usage

<WebStore shareButtonsServices="facebook email pinterest +" googleAnalyticsAccount="UA-8765432-1" defaultSalesOrderShipViaCode="E4" anonymousWarehousePlant="ALL" defaultSortProperty="PopularityRating" defaultSortOrder="D" defaultSortLabel="Top Sellers" defaultSortOrderLabel=" " solrSearchUrl="http://solr.yourcompany.local:8983/solr/default"/>